<!DOCTYPE HTML>
<html>
<head>
	<title>{%if $lan eq 'zh'%}{%$title_zh%}{%else%}{%$title_en%}{%/if%}</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="{%$keyword%}" />
	<meta name="description" content="{%$description%}"/>
	<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
	<link href="templates/css/button.css" rel='stylesheet' type='text/css' />
	<link href="templates/css/bootstrap.css" rel='stylesheet' type='text/css' />
	<link href='https://fonts.googleapis.com/css?family=Open+Sans:700,700italic,800,300,300italic,400italic,400,600,600italic' rel='stylesheet' type='text/css'>
	<!--Custom-Theme-files-->
	<link href="templates/css/style.css" rel='stylesheet' type='text/css' />
	<link rel="stylesheet" href="templates/css/lightbox.css" type="text/css" media="all" />
	<script src="templates/js/modernizr.custom.js"></script>
	<script src="templates/js/jquery.min.js"> </script>
	<!--/script-->
	<script type="text/javascript" src="templates/js/move-top.js"></script>
	<script type="text/javascript" src="templates/js/easing.js"></script>
	<script type="text/javascript">
		jQuery(document).ready(function($) {
			$(".scroll").click(function(event){
				event.preventDefault();
				$('html,body').animate({scrollTop:$(this.hash).offset().top},900);
			});
		});
	</script>
	<style>
		.yeshu{ width:30%;margin:auto;margin-bottom: 1em}
		.yeshu a{ display:block; float:left; padding:8px 13px; font-size:14px; color:#666; margin-right:5px; background:#efefef;}
		.yeshu a:hover,.yeshu a.on{ background:#f26649; color:#fff}
	</style>
</head>
<body>
	{%include file="top.html"%}

	<div class="col-md-9 main" style="width: 100%">
		<div style="float: left">
			{%include file="left.html"%}
		</div>
		<div class="col-md-9 main" style="float: right">
	   		<div class="gallery-section">
				<h3 class="tittle">{%$tit%} <i class="glyphicon glyphicon-fullscreen"></i></h3>
         		<div class="categorie-grids cs-style-1">


					{%foreach from=$products item=pd%}
						<div class="col-md-4 cate-grid grid">
							<figure>
								<img src="{%$pd.picurl%}" alt="">
								<figcaption>
									<h3>{%$pd.title%}</h3>
									<span>{%$pd.keywords%}</span>
									<a class="example-image-link" href="index.php?act={%$linkurl%}&id={%$pd.id%}">VIEW</a>
								</figcaption>
							</figure>
						</div>
					{%/foreach%}

					<script src="templates/js/lightbox.js"></script>
					<div class="clearfix"></div>
				</div>

				<div class="yeshu" style="text-align:center;">
					{%$page%}
				</div>
			</div>
			<div class="clearfix"> </div>
			{%include file="foot.html"%}
		</div>
		<div class="clearfix"> </div>
	</div>
	<div class="clearfix"> </div>
</div>	
	<script type="text/javascript">
		$(document).ready(function() {
			$().UItoTop({ easingType: 'easeOutQuart' });
		});
	</script>
	<a href="#home" id="toTop" class="scroll" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>
</body>
</html>